package com.agriculture.competition.domain;

import com.agriculture.common.core.annotation.Excel;
import com.agriculture.common.core.web.domain.BaseEntity;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * 比赛管理对象 ja_competition_manage
 *
 * @author agriculture
 * @date 2024-11-12
 */
@Data
public class JaCompetitionManage extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * $column.columnComment
     */
    private Long id;

    /**
     * 比赛的名字
     */
    @Excel(name = "比赛的名字")
    private String competitionName;

    /**
     * 状态1:运行中2：已结束
     */
    @Excel(name = "状态1:运行中2：已结束")
    private String status;

    /**
     * 是否显示1：显示0：不显示
     */
    @Excel(name = "是否显示1：显示0：不显示")
    private String isShow;

    /**
     * 方案数
     */
    @Excel(name = "方案数")
    private Long schemeNum;

    /**
     * 人数
     */
    @Excel(name = "组数")
    private Long peopleNum;

    /**
     * 开始时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date startTime;

    /**
     * 报名截止日期
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "报名截止日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date registrationDeadline;

    /**
     * 提交截止日期
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "提交截止日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date submissionDeadline;

    /**
     * 简介
     */
    @Excel(name = "简介")
    private String briefIntroduction;

    /**
     * 描述
     */
    @Excel(name = "描述")
    private String describe;

    /**
     * 规则
     */
    @Excel(name = "规则")
    private String rule;

    /**
     * 显示顺序
     */
    @Excel(name = "显示顺序")
    private Long orderNum;

    /**
     * 文件路径
     */
    @Excel(name = "文件路径")
    private String fileUrl;

    /**
     * $column.columnComment
     */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long createUser;

    /**
     * $column.columnComment
     */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long updateUser;

    /**
     * $column.columnComment
     */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String remark1;
    /**
     * 流程状态 ：0，待审核，1，审核通过
     */
    private String processState;

    /**
     * 参赛学生人数最大
     */
    @Excel(name = "参赛学生人数最大")
    private Integer groupMax;

    /**
     * 参赛老师人数最大
     */
    @Excel(name = "参赛老师人数最大")
    private Integer groupTeacherMax;


    //0:待审核 1：审核通过
    private String resultStatus;
    /**
     * 评分老师
     */
    private List<JaCompetitionTeacher> jaCompetitionTeacherList;
    /**
     * 总评分老师
     */
    private List<JaCompetitionTeacher> jaCompetitionTeachers;

    /**
     * 1：显示 2：不显示
     */
    private String flag;

    //0：没结果 1有结果
    private String resultFlag;

}
